package com.tongcao.cn.executor;

import com.tongcao.cn.base.req.BookerRequest;
import com.tongcao.cn.dfire.result.Result;
import com.tongcao.cn.dfire.utils.ResultUtil;
import org.springframework.stereotype.Component;

/**
 * @Author:tongcao
 * @Date:2019/1/24 16:58
 * Description:
 */
@Component
public class BookerExecutor extends AbstractBookerExecutor<BookerRequest, String> {
    /**
     * 执行器
     *
     * @param request
     * @return
     */
    @Override
    public Result<String> execute(BookerRequest request) {
        return ResultUtil.successResult("hello world");
    }

}
